package com.google.gson;

import java.util.Collection;
import java.util.HashSet;

final class w implements ExclusionStrategy {
    private final Collection a = new HashSet();

    public w(int... iArr) {
        if (iArr != null) {
            for (int valueOf : iArr) {
                this.a.add(Integer.valueOf(valueOf));
            }
        }
    }

    public boolean shouldSkipClass(Class cls) {
        return false;
    }

    public boolean shouldSkipField(d dVar) {
        for (Integer intValue : this.a) {
            if (dVar.a(intValue.intValue())) {
                return true;
            }
        }
        return false;
    }
}
